<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<title>使用工具栏</title>
	<link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/dpl.css" rel="stylesheet">
	<link href="http://g.alicdn.com/bui/bui/1.1.21/css/bs3/bui.css" rel="stylesheet">
	<script src="http://g.tbcdn.cn/fi/bui/jquery-1.8.1.min.js"></script>
	<script src="http://g.alicdn.com/bui/seajs/2.3.0/sea.js"></script>
	<script src="http://g.alicdn.com/bui/bui/1.1.21/config.js"></script>
	<style>
		body{
			padding:30px;
		}
		.row{
			margin-top:50px;
			padding-top:50px;
			height:200px;
			width:500px;
			margin-left:29%;
			background:#D9EDF7;
		}
	</style>
</head>
<body>
	<!-- 此节点内部的内容会在弹出框内显示,默认隐藏此节点-->
    <div id="content">
      <form id="form" action="<%=basePath%>group/edit" class="form-horizontal">
        <div class="row well">
         <div class="control-group" style="margin-left:15%;">
            <label class="control-label">角色ID：</label>
            <div class="controls">
              <input type="text" name="group.id" value="<s:property value="group.id"/>" readonly="readonly"
              class="input-normal control-text" data-rules="{required : true}">
            </div>
          </div>
          <div class="control-group" style="margin-left:15%;">
            <label class="control-label" >角色名：</label>
            <div class="controls">
              <input type="text" name="group.name"  value="<s:property value="group.name"/>"
              class="input-normal control-text" data-rules="{required : true,minlength:2}">
            </div>
          </div>
          <div class="control-group" style="margin-left:15%;">
            <label class="control-label">角色类型：</label>
            <div class="controls">
            	<s:property value="group.type"/>
            	<span style="color:red">*无法修改</span> 
            </div>
          </div>
          <div class="control-group" style="margin-left:15%;">
            <input type="submit" value="提交" style="margin-left:75px;" class="button button-info">
          	<input type="button" class="button" style="margin-left:100px;" value="返 回" onclick="javascript:history.go(-1);"/>
          </div>
        </div>
      </form>
    </div>
</body>
</html>